Skip to main content

All Questions

0votes
1answer
176views

Adding records to a 'has_many :through' association using a button

This is my first Rails app and have hit another wall. I have a User model and a Country model. They have a many-to-many relationship, which I join together with a Trip model. A user can maintain a ...
Cory L's user avatar
2votes
2answers
2kviews

Rails add new and edit form in bootstrap modal

I'm new with Ruby on Rails. Now I'm trying to make a simple ToDo List app with bootstrap. Everything works but I tried to render my New task form to a modal window and it's crashed. Here is my _form ...
Gleb's user avatar
  • 1,432
0votes
1answer
395views

No route matches [POST] "/contacts/new" Ruby on Rails

I'm building an interactive website through Cloud9 using a tutorial online. We are using bootstrap, JavaScript, ruby on rails, html, and scss. However, I am currently stuck. Whenever I click 'submit'.....
Andrea's user avatar
0votes
1answer
253views

Routing Error uninitialized constant SubmitsController (Trying to upload document using Carrierwave)

I am building my first useful Rails application for a teacher to post assignments and students to upload their work (jpeg|pdf) on the website using Carrierwave. Tutorial I want to replicate: http://...
Mike Stamb's user avatar
0votes
0answers
81views

Bootstrap Accordion Collapse not indexing divs correctly

When trying to index divs so that the accordion buttons will collapse correctly, it's indexing every first contact in each category in my json file as 0 instead of indexing every contact no matter the ...
Mary P.'s user avatar
1vote
2answers
273views

RuntimeError in Home#index

I am new for Ruby on rails. I have configured the rails in my system(Windows 7). After Creating the new project in rails (localhost:3000) is working fine. I am try to import the bootstrap in my rails ...
Sakthka's user avatar
0votes
2answers
154views

Problems with Modal in Rails opening the same object

I'm maintaining an older Rails 3.2.22 app and I'm trying to add a modal to pop up with a simple form to add a note. Here is my view (cut down for readability) <% @assigned.each do |call| %> ...
nulltek's user avatar
  • 3,347
0votes
1answer
352views

how can i override simple_form bootstrap style with my bootstrap form styles

i have built simple_form fields in my railsapp,when i adding simple_form tag it style get changes, and i want to integrate this simple_form with my alredy built frontend bootstrap forms this is my ...
febil's user avatar
0votes
0answers
31views

Rails 3 dynamic form errors in boostrap 3

I'm using #403 dynamic forms Railcast combined with twitter-boostrap-rails 3 and simpleform gems. I have some custom validations for the dynamic form. For example when one field its empty I use: self....
Victor Donet's user avatar
1vote
1answer
288views

ActionController::RoutingError (No route matches [GET] "/assets/bootstrap/glyphicons-halflings-regular.woff2"):

In my Rails 4 application whenever I call any controller action or page reload my terminal shows some errors there but my application works quite normal, no functionality got stuck, but I don't know ...
Praveen George's user avatar
0votes
1answer
143views

Rails view helper display badge and text

I have an app I'm working on with Rails 3.2.x and Bootstrap 2. I have a view helper which returns different text based on a call's status and attributes. def status(call) if call.call_status == "...
nulltek's user avatar
  • 3,347
0votes
1answer
206views

togglable tabs in rails 3.2 bootstrap

I would be happy if i'll be able to work with a togglable tag in rails 3.2. I used this code : div class="tabbable"> <ul class="nav nav-tabs" id="proftabs"> <li><a href="#...
Vito's user avatar
  • 786
6votes
4answers
7kviews

Rails/Bootstrap - Flash notice :success is now red and not green?

I've been trying to search for an answer on here but I can't find anything that works. I have implemented a :success and :danger flash notice to my rails app. It WAS working completely fine, i.e :...
RuNpiXelruN's user avatar
0votes
1answer
2kviews

How to create helper method HAML

I inherited a project that uses Ruby on Rails and HAML and I have never seen HAML before so I'm kind of confused. This project is using devise to handle users and devise send flash events or ...
Braden's user avatar
0votes
2answers
2kviews

bundle install fail "..does not appear to be a git repository fatal: Could not read from remote repository."

I have a gem file in which i am trying to get "gem 'twitter-bootstrap-rails', git: 'https://github.com/seyhunak/twitter-bootstrap-rails.git'" Using bundle install command and it gives the below ...
Srini Vedula's user avatar

153050per page
close